package src 
{
	import flash.display.Sprite;
	/**
	 * ...
	 * @author Felipe Soares Pinhel
	 */
	public class Level01 extends Sprite
	{
		public var backg : Background;
		public var floor : Floor;
		public var brick : Block;
		public var boss	 : Enemy;
		
		public function Level01() 
		{
			//trace("LEVEL 01");
		
			init();
		
		}
		
		private function init() : void
		{
			backg = new Background();
			this.addChild(backg);
			
			
			floor = new Floor();
			floor.x = 0;
			floor.y = Main._instance.stage.stageHeight - floor.height;
			this.addChild(floor);
			
			
			brick = new Block();
			brick.x = backg.x + 550;
			brick.y = Main._instance.stage.stageHeight - floor.height - 40;
			brick.scaleX = 0.3;
			brick.scaleY = 0.3;
			this.addChild(brick);
			
			boss = new Enemy();
			boss.x = backg.x + 1500;
			boss.y = Main._instance.stage.stageHeight - floor.height - 40;
			boss.scaleX = 0.8;
			boss.scaleY = 0.8;
			this.addChild(boss);
			
			
			
		}
		
	}

}